package fr.obsmip.sedoo.client.ui.table.search;

import com.google.gwt.user.cellview.client.CellList;

import fr.obsmip.sedoo.client.CellListResources;
import fr.obsmip.sedoo.client.ui.MetadataResultView.Presenter;
import fr.obsmip.sedoo.shared.domain.SummaryDTO;

public class ResultList extends CellList<SummaryDTO>{

	SummaryCell summaryCell;
	
	public ResultList() 
	{
		super(new SummaryCell(),CellListResources.INSTANCE);
		summaryCell = (SummaryCell) getCell();
		setKeyboardSelectionPolicy(KeyboardSelectionPolicy.DISABLED);
	}
	
	public void setPresenter(Presenter presenter)
	{
		summaryCell.setPresenter(presenter);
	}
	

}
